package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.complete.entity.enumerate.ScheduleTypeInnerStruct;
import com.colorlight.cloud.gateway.api.annotation.name;
import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.*;

import java.util.List;

/**
 * @author Demon
 * @date 4/12/2023  下午5:36
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CommandScheduleResult implements Trans<CommandScheduleResult, CompleteEntity.CommandScheduleResult> {
	/**
	 * 排程id
	 * 屏体id
	 * 执行时间
	 * 指令类型
	 * 指令执行结果
	 * 高级控制序列号
	 * 时区偏移量
	 * */
	private Long seq;
	private String uuid ;
	private Long time ;
	private ScheduleTypeInnerStruct type;
	@name(value = "result")
	private List<CommandScheduleResultInner> resultInners;
	private Long commandSeq;
	private Float timezoneOffset;
}
